package com.basics.common.utils.oss;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;
import java.util.Map;


@Data
public class UpdateChunkFileData implements Serializable {

    @ApiModelProperty(value = "是否跳过上传")
    private Boolean skipUpload;

    @ApiModelProperty(value = "oss上传时的上传id")
    private String uploadId;

    @ApiModelProperty(value = "已上传的分片")
    private List<Integer> uploaded;

    @ApiModelProperty(value = "上传成功后返回的url")
    private String url;

    @ApiModelProperty(value = "封面图片(第一次上传的时候会返回,记得保存)")
    private String coverImg;

    @ApiModelProperty(value = "封面宽")
    private int width;

    @ApiModelProperty(value = "封面高")
    private int height;

    public UpdateChunkFileData(){

    }

}
